﻿// Module:             Games Programming
// Assignment1:        Platformer Game
// Add game feature:   Generic Trap interface
// Student Number:     S10095741D
// Student Name:       Ng Cheong Sian

//////////////////////////////////////////////////////////////////////////

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Game.TrapScripts
{
    public enum TrapType
    {
        LaserDoor=1,
        Spikes,
    }

    public interface ITrap
    {
        void Draw(GameTime gameTime, SpriteBatch spriteBatch);
        void Update(GameTime gameTime);
        Rectangle GetBoundingRect();

        bool IsActive { get; }
        TrapType Type { get; }
    }
}
